//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================

#ifndef WATERTEK_CPLD_DRIVER_H
#define WATERTEK_CPLD_DRIVER_H

#include "SMA_types.h"

void CPLD_SetIntMask( UNS_32 intNum, UNS_32 state );
UNS_32 CPLD_GetIntState( void );
void CPLD_SetPwrIO( UNS_32 pwrNum, UNS_32 state );
void CPLD_SetExtIO( UNS_32 extNum, UNS_32 state );
UNS_32 CPLD_GetKeyState( void );

#endif /* WATERTEK_CPLD_DRIVER_H */
